package PlaneTest;

import java.awt.*;

public class Plane extends GameObject{
    @Override
    public void drowMyself(Graphics g) {
        super.drowMyself(g);


        //飞机飞行的算法可以自行设定
        x += speed;


    }

    public Plane(Image img, double x, double y, int speed) {
        super(img, x, y, speed);
    }
}
